<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
Welcome to Django!</br>
name: {{ user.name }} </br>
age: {{ user.age }} </br>
sex: {{ user.sex }} </br>
say: {{ user.say }}

<li>{{ book_list.1 }}</li>
<li>{{ book_list.2 }}</li>
<li>{{ book_list.3 }}</li>
<li>{{ book_list.4 }}</li>

{{ user }}

{% for emp in user %}
    <div>{{ emp }}</div>
{% endfor %}
{% if user %}
    <li>name: {{ user.name }} </li>
{% else %}
    User does't exist
{% endif %}

{% for book in book_list %}
<li>{{ book }}</li>
{% endfor %}

</body>
</html>